<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>品牌LOGO设计服务 - 社交服务平台</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome 图标 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <style>
        :root {
            --primary: #3b82f6;
            --primary-light: #60a5fa;
            --primary-dark: #2563eb;
            --secondary: #8b5cf6;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --text-primary: #111827;
            --text-secondary: #6b7280;
            --text-light: #9ca3af;
            --bg-light: #f9fafb;
            --bg-white: #ffffff;
            --border-light: #e5e7eb;
            --border-medium: #d1d5db;
            --radius: 8px;
            --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            padding-top: 55px;
            padding-bottom: 70px;
        }
        
        /* 顶部导航 */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 55px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 15px;
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
        }
        
        .nav-title {
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .nav-actions {
            display: flex;
            gap: 15px;
            font-size: 1.2rem;
        }
        
        /* 服务图片轮播 */
        .service-gallery {
            position: relative;
            width: 100%;
            background-color: #000;
        }
        
        .gallery-image {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .gallery-indicator {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 6px;
        }
        
        .gallery-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
        }
        
        .gallery-dot.active {
            background-color: white;
        }
        
        .gallery-count {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            font-size: 0.8rem;
            padding: 3px 8px;
            border-radius: 12px;
        }
        
        /* 服务提供者信息 */
        .provider-info {
            padding: 15px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            display: flex;
            align-items: center;
        }
        
        .provider-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 12px;
        }
        
        .provider-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .provider-details {
            flex: 1;
        }
        
        .provider-name {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 3px;
        }
        
        .provider-rating {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .rating-stars {
            color: var(--warning);
        }
        
        .provider-actions {
            display: flex;
            gap: 10px;
        }
        
        .provider-btn {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid var(--primary);
            color: var(--primary);
            background-color: transparent;
        }
        
        .provider-btn.message {
            background-color: var(--primary);
            color: white;
        }
        
        /* 服务基本信息 */
        .service-basic {
            padding: 15px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
        }
        
        .service-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .service-price {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--danger);
            margin-bottom: 10px;
        }
        
        .service-price span {
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: normal;
        }
        
        .service-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .service-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }
        
        .service-tag {
            font-size: 0.8rem;
            padding: 3px 10px;
            border-radius: 4px;
            background-color: rgba(59, 130, 246, 0.1);
            color: var(--primary);
        }
        
        /* 服务详情内容 */
        .service-content {
            padding: 15px;
            background-color: var(--bg-white);
            margin-bottom: 10px;
        }
        
        .content-section {
            margin-bottom: 20px;
        }
        
        .section-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border-light);
        }
        
        .section-content {
            color: var(--text-secondary);
            line-height: 1.6;
            font-size: 0.95rem;
        }
        
        .content-list {
            padding-left: 0;
            list-style: none;
        }
        
        .content-list li {
            display: flex;
            margin-bottom: 10px;
            line-height: 1.5;
        }
        
        .content-list li::before {
            content: "•";
            color: var(--primary);
            font-weight: bold;
            margin-right: 8px;
        }
        
        /* 服务套餐 */
        .service-packages {
            padding: 15px;
            background-color: var(--bg-white);
            margin-bottom: 10px;
        }
        
        .package-item {
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 15px;
            margin-bottom: 10px;
            position: relative;
        }
        
        .package-item.active {
            border-color: var(--primary);
            background-color: rgba(59, 130, 246, 0.05);
        }
        
        .package-item.active::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background-color: var(--primary);
        }
        
        .package-title {
            font-weight: 600;
            margin-bottom: 5px;
            display: flex;
            justify-content: space-between;
        }
        
        .package-price {
            color: var(--danger);
        }
        
        .package-features {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }
        
        .package-features div {
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .package-features i {
            color: var(--success);
            font-size: 0.8rem;
        }
        
        /* 服务保障 */
        .service-guarantee {
            padding: 15px;
            background-color: var(--bg-white);
            margin-bottom: 10px;
        }
        
        .guarantee-list {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .guarantee-item {
            flex: 1;
            min-width: 120px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .guarantee-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(59, 130, 246, 0.1);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
        }
        
        .guarantee-text {
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        /* 留言区 */
        .comments-section {
            padding: 15px;
            background-color: var(--bg-white);
            margin-bottom: 10px;
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .comments-title {
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .comments-count {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        .comment-input {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .comment-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            overflow: hidden;
        }
        
        .comment-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comment-input-group {
            flex: 1;
        }
        
        .comment-input-field {
            width: 100%;
            padding: 10px 15px;
            border-radius: 20px;
            border: 1px solid var(--border-light);
            font-size: 0.9rem;
            resize: none;
            height: 80px;
        }
        
        .comment-input-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 8px;
            gap: 10px;
        }
        
        .comment-btn {
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .comment-btn.cancel {
            background-color: var(--bg-light);
            border: none;
            color: var(--text-secondary);
        }
        
        .comment-btn.submit {
            background-color: var(--primary);
            border: none;
            color: white;
        }
        
        /* 留言列表 */
        .comments-list {
            margin-top: 20px;
        }
        
        .comment-item {
            padding: 15px 0;
            border-bottom: 1px solid var(--border-light);
        }
        
        .comment-item:last-child {
            border-bottom: none;
        }
        
        .comment-header {
            display: flex;
            margin-bottom: 8px;
        }
        
        .comment-author-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 10px;
        }
        
        .comment-author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comment-author-info {
            flex: 1;
        }
        
        .comment-author {
            font-weight: 500;
            font-size: 0.9rem;
            margin-bottom: 2px;
        }
        
        .comment-time {
            font-size: 0.8rem;
            color: var(--text-light);
        }
        
        .comment-content {
            font-size: 0.95rem;
            margin-bottom: 10px;
            line-height: 1.5;
        }
        
        .comment-actions {
            display: flex;
            gap: 15px;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .comment-action {
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
        }
        
        .comment-action.liked {
            color: var(--danger);
        }
        
        /* 回复区 */
        .replies {
            margin-top: 10px;
            padding-left: 15px;
            border-left: 2px solid var(--border-light);
        }
        
        .reply-item {
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
        }
        
        .reply-item:last-child {
            border-bottom: none;
        }
        
        .reply-header {
            display: flex;
            margin-bottom: 5px;
        }
        
        .reply-author-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 8px;
        }
        
        .reply-author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .reply-author {
            font-weight: 500;
            font-size: 0.85rem;
            margin-right: 8px;
        }
        
        .reply-to {
            color: var(--primary);
            font-size: 0.85rem;
        }
        
        .reply-content {
            font-size: 0.9rem;
            margin-bottom: 5px;
            line-height: 1.5;
        }
        
        .reply-footer {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--text-light);
        }
        
        .reply-actions {
            display: flex;
            gap: 10px;
        }
        
        .reply-action {
            cursor: pointer;
        }
        
        .reply-form {
            display: flex;
            gap: 8px;
            margin-top: 10px;
        }
        
        .reply-input {
            flex: 1;
            padding: 6px 12px;
            border-radius: 15px;
            border: 1px solid var(--border-light);
            font-size: 0.85rem;
        }
        
        .reply-submit {
            color: var(--primary);
            background: none;
            border: none;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        /* 底部操作栏 */
        .bottom-actions {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 15px;
            border-top: 1px solid var(--border-light);
            z-index: 1000;
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
        }
        
        .action-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--text-secondary);
            font-size: 0.7rem;
        }
        
        .action-button i {
            font-size: 1.2rem;
            margin-bottom: 3px;
        }
        
        .action-button.active {
            color: var(--danger);
        }
        
        .main-action {
            flex: 1;
            margin: 0 10px;
        }
        
        .main-action-btn {
            width: 100%;
            height: 40px;
            border-radius: 20px;
            font-weight: 500;
            font-size: 0.95rem;
            border: none;
            background-color: var(--primary);
            color: white;
        }
        
        .main-action-btn.buy {
            background-color: var(--danger);
        }
        
        /* 图片查看器 */
        .image-viewer {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: black;
            z-index: 3000;
            display: none;
            align-items: center;
            justify-content: center;
        }
        
        .image-viewer.show {
            display: flex;
        }
        
        .viewer-image {
            max-width: 100%;
            max-height: 100vh;
            object-fit: contain;
        }
        
        .viewer-close {
            position: absolute;
            top: 15px;
            right: 15px;
            color: white;
            font-size: 1.5rem;
            background: none;
            border: none;
        }
        
        .viewer-prev, .viewer-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 2rem;
            background: none;
            border: none;
            padding: 20px 10px;
        }
        
        .viewer-prev {
            left: 0;
        }
        
        .viewer-next {
            right: 0;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="top-nav">
        <div class="nav-left">
            <i class="fas fa-arrow-left"></i>
        </div>
        <div class="nav-title">服务详情</div>
        <div class="nav-actions">
            <i class="far fa-share-alt"></i>
            <i class="far fa-ellipsis-v"></i>
        </div>
    </div>
    
    <!-- 服务图片轮播 -->
    <div class="service-gallery">
        <img src="https://picsum.photos/id/26/800/600" alt="服务图片1" class="gallery-image">
        <div class="gallery-indicator">
            <div class="gallery-dot active"></div>
            <div class="gallery-dot"></div>
            <div class="gallery-dot"></div>
        </div>
        <div class="gallery-count">1/3</div>
    </div>
    
    <!-- 服务提供者信息 -->
    <div class="provider-info">
        <div class="provider-avatar">
            <img src="https://picsum.photos/id/64/100/100" alt="服务提供者头像">
        </div>
        <div class="provider-details">
            <div class="provider-name">创意设计工作室</div>
            <div class="provider-rating">
                <div class="rating-stars">
                    <i class="fas fa-star"></i>
                    <i class="fas fa-star"></i>
                    <i class="fas fa-star"></i>
                    <i class="fas fa-star"></i>
                    <i class="fas fa-star-half-alt"></i>
                </div>
                <span>4.9 (128条评价)</span>
            </div>
        </div>
        <div class="provider-actions">
            <button class="provider-btn">关注</button>
            <button class="provider-btn message">私信</button>
        </div>
    </div>
    
    <!-- 服务基本信息 -->
    <div class="service-basic">
        <div class="service-title">品牌LOGO设计 原创标志设计 含商标注册咨询</div>
        
        <div class="service-price">
            ¥399 起 <span>已售 236</span>
        </div>
        
        <div class="service-meta">
            <div class="meta-item">
                <i class="fas fa-map-marker-alt"></i>
                <span>北京市</span>
            </div>
            <div class="meta-item">
                <i class="fas fa-clock"></i>
                <span>3-5天交付</span>
            </div>
            <div class="meta-item">
                <i class="fas fa-shield-alt"></i>
                <span>担保交易</span>
            </div>
            <div class="meta-item">
                <i class="fas fa-refresh"></i>
                <span>免费修改</span>
            </div>
        </div>
        
        <div class="service-tags">
            <div class="service-tag">LOGO设计</div>
            <div class="service-tag">品牌设计</div>
            <div class="service-tag">原创</div>
            <div class="service-tag">商标注册</div>
            <div class="service-tag">平面设计</div>
        </div>
    </div>
    
    <!-- 服务详情内容 -->
    <div class="service-content">
        <div class="content-section">
            <div class="section-title">服务介绍</div>
            <div class="section-content">
                专业设计师团队提供品牌LOGO设计服务，原创作品，包含3套方案供选择，修改到满意为止，赠送商标注册咨询。
                <br><br>
                我们专注于为中小企业和创业团队提供高品质的品牌视觉设计服务，帮助您的品牌在竞争激烈的市场中脱颖而出。
            </div>
        </div>
        
        <div class="content-section">
            <div class="section-title">服务包含</div>
            <div class="section-content">
                <ul class="content-list">
                    <li>3套原创LOGO设计方案供选择</li>
                    <li>选中方案修改至满意为止</li>
                    <li>提供AI、EPS、PNG、JPG等多种格式文件</li>
                    <li>商标注册查询及建议</li>
                    <li>品牌应用场景示意图（3种）</li>
                </ul>
            </div>
        </div>
        
        <div class="content-section">
            <div class="section-title">服务流程</div>
            <div class="section-content">
                <ul class="content-list">
                    <li>需求沟通：了解您的品牌定位和设计需求</li>
                    <li>创意设计：3个工作日内提交设计方案</li>
                    <li>方案确认：您选择满意的方案并提出修改意见</li>
                    <li>修改完善：根据您的意见进行修改（不限次数）</li>
                    <li>交付文件：提供所有格式的最终文件</li>
                </ul>
            </div>
        </div>
    </div>
    
    <!-- 服务套餐 -->
    <div class="service-packages">
        <div class="section-title">服务套餐</div>
        
        <div class="package-item active">
            <div class="package-title">
                <span>基础套餐</span>
                <span class="package-price">¥399</span>
            </div>
            <div class="package-features">
                <div><i class="fas fa-check"></i> 3套设计方案</div>
                <div><i class="fas fa-check"></i> 免费修改3次</div>
                <div><i class="fas fa-check"></i> 基础文件格式</div>
                <div><i class="fas fa-check"></i> 商标查询</div>
            </div>
        </div>
        
        <div class="package-item">
            <div class="package-title">
                <span>高级套餐</span>
                <span class="package-price">¥699</span>
            </div>
            <div class="package-features">
                <div><i class="fas fa-check"></i> 5套设计方案</div>
                <div><i class="fas fa-check"></i> 免费修改不限次数</div>
                <div><i class="fas fa-check"></i> 全套源文件</div>
                <div><i class="fas fa-check"></i> 商标注册代理</div>
                <div><i class="fas fa-check"></i> 品牌应用规范</div>
            </div>
        </div>
        
        <div class="package-item">
            <div class="package-title">
                <span>企业套餐</span>
                <span class="package-price">¥1299</span>
            </div>
            <div class="package-features">
                <div><i class="fas fa-check"></i> 8套设计方案</div>
                <div><i class="fas fa-check"></i> 专属设计师对接</div>
                <div><i class="fas fa-check"></i> 全套源文件及版权转让</div>
                <div><i class="fas fa-check"></i> 商标注册代理（含官费）</div>
                <div><i class="fas fa-check"></i> 全套VI设计基础系统</div>
            </div>
        </div>
    </div>
    
    <!-- 服务保障 -->
    <div class="service-guarantee">
        <div class="section-title">服务保障</div>
        <div class="guarantee-list">
            <div class="guarantee-item">
                <div class="guarantee-icon">
                    <i class="fas fa-shield-alt"></i>
                </div>
                <div class="guarantee-text">担保交易</div>
            </div>
            <div class="guarantee-item">
                <div class="guarantee-icon">
                    <i class="fas fa-redo-alt"></i>
                </div>
                <div class="guarantee-text">免费修改</div>
            </div>
            <div class="guarantee-item">
                <div class="guarantee-icon">
                    <i class="fas fa-clock"></i>
                </div>
                <div class="guarantee-text">按时交付</div>
            </div>
            <div class="guarantee-item">
                <div class="guarantee-icon">
                    <i class="fas fa-lock"></i>
                </div>
                <div class="guarantee-text">原创保障</div>
            </div>
        </div>
    </div>
    
    <!-- 留言区 -->
    <div class="comments-section">
        <div class="comments-header">
            <div class="comments-title">用户评价</div>
            <div class="comments-count">32条评价</div>
        </div>
        
        <!-- 留言输入框 -->
        <div class="comment-input">
            <div class="comment-avatar">
                <img src="https://picsum.photos/id/91/100/100" alt="当前用户头像">
            </div>
            <div class="comment-input-group">
                <textarea class="comment-input-field" placeholder="分享您对该服务的看法..."></textarea>
                <div class="comment-input-actions">
                    <button class="comment-btn cancel">取消</button>
                    <button class="comment-btn submit">发布评价</button>
                </div>
            </div>
        </div>
        
        <!-- 留言列表 -->
        <div class="comments-list">
            <!-- 留言1 -->
            <div class="comment-item">
                <div class="comment-header">
                    <div class="comment-author-avatar">
                        <img src="https://picsum.photos/id/22/100/100" alt="评论者头像">
                    </div>
                    <div class="comment-author-info">
                        <div class="comment-author">张小明</div>
                        <div class="comment-time">2023-06-15 14:30</div>
                    </div>
                </div>
                <div class="comment-content">
                    设计很专业，提供的方案很有创意，修改也很耐心，最终的LOGO非常满意，强烈推荐！
                </div>
                <div class="comment-actions">
                    <div class="comment-action">
                        <i class="far fa-thumbs-up"></i>
                        <span>24</span>
                    </div>
                    <div class="comment-action">
                        <i class="far fa-comment"></i>
                        <span>回复</span>
                    </div>
                </div>
                
                <!-- 回复区 -->
                <div class="replies">
                    <!-- 回复1 -->
                    <div class="reply-item">
                        <div class="reply-header">
                            <div class="reply-author-avatar">
                                <img src="https://picsum.photos/id/64/100/100" alt="回复者头像">
                            </div>
                            <div>
                                <span class="reply-author">创意设计工作室</span>
                                <span class="reply-to">回复 张小明</span>
                            </div>
                        </div>
                        <div class="reply-content">
                            感谢您的认可和支持，我们会继续努力提供更好的设计服务！
                        </div>
                        <div class="reply-footer">
                            <span>2023-06-15 16:45</span>
                            <div class="reply-actions">
                                <span class="reply-action">赞 (5)</span>
                                <span class="reply-action">回复</span>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 回复输入框 -->
                    <div class="reply-form">
                        <input type="text" class="reply-input" placeholder="回复 @张小明...">
                        <button class="reply-submit">发送</button>
                    </div>
                </div>
            </div>
            
            <!-- 留言2 -->
            <div class="comment-item">
                <div class="comment-header">
                    <div class="comment-author-avatar">
                        <img src="https://picsum.photos/id/29/100/100" alt="评论者头像">
                    </div>
                    <div class="comment-author-info">
                        <div class="comment-author">李华</div>
                        <div class="comment-time">2023-06-10 09:15</div>
                    </div>
                </div>
                <div class="comment-content">
                    整体不错，设计师理解需求很快，就是交付时间比预期晚了一天，希望下次能改进。
                </div>
                <div class="comment-actions">
                    <div class="comment-action liked">
                        <i class="fas fa-thumbs-up"></i>
                        <span>8</span>
                    </div>
                    <div class="comment-action">
                        <i class="far fa-comment"></i>
                        <span>回复</span>
                    </div>
                </div>
                
                <!-- 回复区 -->
                <div class="replies">
                    <!-- 回复输入框 -->
                    <div class="reply-form">
                        <input type="text" class="reply-input" placeholder="回复 @李华...">
                        <button class="reply-submit">发送</button>
                    </div>
                </div>
            </div>
            
            <!-- 留言3 -->
            <div class="comment-item">
                <div class="comment-header">
                    <div class="comment-author-avatar">
                        <img src="https://picsum.photos/id/36/100/100" alt="评论者头像">
                    </div>
                    <div class="comment-author-info">
                        <div class="comment-author">王丽</div>
                        <div class="comment-time">2023-06-05 16:20</div>
                    </div>
                </div>
                <div class="comment-content">
                    选择的高级套餐，物超所值，不仅设计了LOGO，还提供了很多品牌应用的建议，非常专业！
                </div>
                <div class="comment-actions">
                    <div class="comment-action">
                        <i class="far fa-thumbs-up"></i>
                        <span>15</span>
                    </div>
                    <div class="comment-action">
                        <i class="far fa-comment"></i>
                        <span>回复</span>
                    </div>
                </div>
                
                <!-- 回复区 -->
                <div class="replies">
                    <!-- 回复输入框 -->
                    <div class="reply-form">
                        <input type="text" class="reply-input" placeholder="回复 @王丽...">
                        <button class="reply-submit">发送</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 底部操作栏 -->
    <div class="bottom-actions">
        <div class="action-buttons">
            <div class="action-button active">
                <i class="far fa-heart"></i>
                <span>收藏</span>
            </div>
            <div class="action-button">
                <i class="far fa-share-alt"></i>
                <span>分享</span>
            </div>
        </div>
        
        <div class="main-action">
            <button class="main-action-btn">加入购物车</button>
        </div>
        
        <div class="main-action">
            <button class="main-action-btn buy">立即购买</button>
        </div>
    </div>
    
    <!-- 图片查看器 -->
    <div class="image-viewer" id="imageViewer">
        <button class="viewer-close" id="viewerClose">
            <i class="fas fa-times"></i>
        </button>
        <button class="viewer-prev" id="viewerPrev">
            <i class="fas fa-chevron-left"></i>
        </button>
        <img src="https://picsum.photos/id/26/800/600" alt="大图预览" class="viewer-image" id="viewerImage">
        <button class="viewer-next" id="viewerNext">
            <i class="fas fa-chevron-right"></i>
        </button>
    </div>
    
    <!-- Bootstrap JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // 模拟服务图片数据
        const serviceImages = [
            'https://picsum.photos/id/26/800/600',
            'https://picsum.photos/id/28/800/600',
            'https://picsum.photos/id/29/800/600'
        ];
        
        // 当前图片索引
        let currentImageIndex = 0;
        
        // 图片轮播功能
        const galleryDots = document.querySelectorAll('.gallery-dot');
        const galleryImage = document.querySelector('.gallery-image');
        const galleryCount = document.querySelector('.gallery-count');
        
        // 更新轮播图
        function updateGallery(index) {
            currentImageIndex = index;
            galleryImage.src = serviceImages[index];
            galleryCount.textContent = `${index + 1}/${serviceImages.length}`;
            
            // 更新指示器
            galleryDots.forEach((dot, i) => {
                dot.classList.toggle('active', i === index);
            });
        }
        
        // 点击指示器切换图片
        galleryDots.forEach((dot, index) => {
            dot.addEventListener('click', () => {
                updateGallery(index);
            });
        });
        
        // 图片查看器功能
        const imageViewer = document.getElementById('imageViewer');
        const viewerImage = document.getElementById('viewerImage');
        const viewerClose = document.getElementById('viewerClose');
        const viewerPrev = document.getElementById('viewerPrev');
        const viewerNext = document.getElementById('viewerNext');
        
        // 打开图片查看器
        galleryImage.addEventListener('click', () => {
            openImageViewer(currentImageIndex);
        });
        
        function openImageViewer(index) {
            currentImageIndex = index;
            viewerImage.src = serviceImages[index];
            imageViewer.classList.add('show');
            document.body.style.overflow = 'hidden';
        }
        
        // 关闭图片查看器
        function closeImageViewer() {
            imageViewer.classList.remove('show');
            document.body.style.overflow = '';
        }
        
        // 上一张图片
        function prevImage() {
            currentImageIndex = (currentImageIndex - 1 + serviceImages.length) % serviceImages.length;
            viewerImage.src = serviceImages[currentImageIndex];
            updateGallery(currentImageIndex);
        }
        
        // 下一张图片
        function nextImage() {
            currentImageIndex = (currentImageIndex + 1) % serviceImages.length;
            viewerImage.src = serviceImages[currentImageIndex];
            updateGallery(currentImageIndex);
        }
        
        // 绑定图片查看器事件
        viewerClose.addEventListener('click', closeImageViewer);
        viewerPrev.addEventListener('click', prevImage);
        viewerNext.addEventListener('click', nextImage);
        
        // 点击查看器外部关闭
        imageViewer.addEventListener('click', (e) => {
            if (e.target === imageViewer) {
                closeImageViewer();
            }
        });
        
        // 套餐选择
        const packageItems = document.querySelectorAll('.package-item');
        packageItems.forEach(item => {
            item.addEventListener('click', () => {
                packageItems.forEach(i => i.classList.remove('active'));
                item.classList.add('active');
            });
        });
        
        // 评论点赞功能
        const likeButtons = document.querySelectorAll('.comment-action .fa-thumbs-up');
        likeButtons.forEach(button => {
            button.parentElement.addEventListener('click', () => {
                const action = button.parentElement;
                action.classList.toggle('liked');
                
                if (action.classList.contains('liked')) {
                    button.classList.remove('far');
                    button.classList.add('fas');
                    // 增加点赞数
                    const countEl = button.nextElementSibling;
                    countEl.textContent = parseInt(countEl.textContent) + 1;
                } else {
                    button.classList.remove('fas');
                    button.classList.add('far');
                    // 减少点赞数
                    const countEl = button.nextElementSibling;
                    countEl.textContent = parseInt(countEl.textContent) - 1;
                }
            });
        });
        
        // 收藏按钮功能
        const favoriteButton = document.querySelector('.action-button .fa-heart').parentElement;
        favoriteButton.addEventListener('click', () => {
            favoriteButton.classList.toggle('active');
            const icon = favoriteButton.querySelector('i');
            if (favoriteButton.classList.contains('active')) {
                icon.classList.remove('far');
                icon.classList.add('fas');
            } else {
                icon.classList.remove('fas');
                icon.classList.add('far');
            }
        });
        
        // 回复框聚焦效果
        const replyInputs = document.querySelectorAll('.reply-input');
        replyInputs.forEach(input => {
            input.addEventListener('focus', () => {
                input.parentElement.classList.add('focused');
            });
            
            input.addEventListener('blur', () => {
                input.parentElement.classList.remove('focused');
            });
        });
        
        // 提交回复
        const replySubmitButtons = document.querySelectorAll('.reply-submit');
        replySubmitButtons.forEach(button => {
            button.addEventListener('click', () => {
                const input = button.previousElementSibling;
                const replyText = input.value.trim();
                
                if (replyText) {
                    // 在实际应用中，这里会发送请求到服务器
                    const replyForm = button.parentElement;
                    const replyItem = document.createElement('div');
                    replyItem.className = 'reply-item';
                    
                    // 获取回复对象
                    const replyToText = input.getAttribute('placeholder').match(/@(\w+)/)[1];
                    
                    replyItem.innerHTML = `
                        <div class="reply-header">
                            <div class="reply-author-avatar">
                                <img src="https://picsum.photos/id/91/100/100" alt="回复者头像">
                            </div>
                            <div>
                                <span class="reply-author">我</span>
                                <span class="reply-to">回复 ${replyToText}</span>
                            </div>
                        </div>
                        <div class="reply-content">
                            ${replyText}
                        </div>
                        <div class="reply-footer">
                            <span>${new Date().toLocaleDateString()} ${new Date().toLocaleTimeString([], {hour: '2-digit', minute:'2-digit'})}</span>
                            <div class="reply-actions">
                                <span class="reply-action">赞 (0)</span>
                                <span class="reply-action">回复</span>
                            </div>
                        </div>
                    `;
                    
                    // 插入新回复到回复列表顶部
                    replyForm.parentNode.insertBefore(replyItem, replyForm);
                    
                    // 清空输入框
                    input.value = '';
                }
            });
        });
        
        // 提交评论
        const submitCommentButton = document.querySelector('.comment-btn.submit');
        submitCommentButton.addEventListener('click', () => {
            const textarea = document.querySelector('.comment-input-field');
            const commentText = textarea.value.trim();
            
            if (commentText) {
                // 在实际应用中，这里会发送请求到服务器
                const commentsList = document.querySelector('.comments-list');
                const commentItem = document.createElement('div');
                commentItem.className = 'comment-item';
                
                commentItem.innerHTML = `
                    <div class="comment-header">
                        <div class="comment-author-avatar">
                            <img src="https://picsum.photos/id/91/100/100" alt="评论者头像">
                        </div>
                        <div class="comment-author-info">
                            <div class="comment-author">我</div>
                            <div class="comment-time">${new Date().toLocaleDateString()} ${new Date().toLocaleTimeString([], {hour: '2-digit', minute:'2-digit'})}</div>
                        </div>
                    </div>
                    <div class="comment-content">
                        ${commentText}
                    </div>
                    <div class="comment-actions">
                        <div class="comment-action">
                            <i class="far fa-thumbs-up"></i>
                            <span>0</span>
                        </div>
                        <div class="comment-action">
                            <i class="far fa-comment"></i>
                            <span>回复</span>
                        </div>
                    </div>
                    
                    <!-- 回复区 -->
                    <div class="replies">
                        <!-- 回复输入框 -->
                        <div class="reply-form">
                            <input type="text" class="reply-input" placeholder="回复 @我...">
                            <button class="reply-submit">发送</button>
                        </div>
                    </div>
                `;
                
                // 插入新评论到评论列表顶部
                commentsList.insertBefore(commentItem, commentsList.firstChild);
                
                // 清空输入框
                textarea.value = '';
                
                // 更新评论计数
                const commentsCount = document.querySelector('.comments-count');
                const count = parseInt(commentsCount.textContent);
                commentsCount.textContent = `${count + 1}条评价`;
            }
        });
        
        // 取消评论
        const cancelCommentButton = document.querySelector('.comment-btn.cancel');
        cancelCommentButton.addEventListener('click', () => {
            const textarea = document.querySelector('.comment-input-field');
            textarea.value = '';
        });
    </script>
</body>
</html>

